package com.itSession.cn.entity;

import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * @ClassName: CircleInfo
 * @author: hanP
 * @create: 2022-01-10 10:25:40
 */
public class CircleInfo {
	/** 主键 */
    @ApiModelProperty(value = "主键")
	private Integer jzCircleId;
	/** 账号 */
    @ApiModelProperty(value = "账号")
	private String jzCircleAccount;
	/** 用户名 */
    @ApiModelProperty(value = "用户名")
	private String jzCircleUsername;
	/** 用户头像 */
    @ApiModelProperty(value = "用户头像")
	private String jzCircleLogo;
	/** 内容 */
    @ApiModelProperty(value = "内容")
	private String jzCircleContent;
    @ApiModelProperty(value = "发布文件内容")
	private String jzCircleFile;
	@ApiModelProperty(value = "发布时间")
	private String jzCircleTime;



	private List<CommentInfo> myComment;

	public List<CommentInfo> getMyComment() {
		return myComment;
	}

	public void setMyComment(List<CommentInfo> myComment) {
		this.myComment = myComment;
	}


	public String getJzCircleTime() {
		return jzCircleTime;
	}

	public void setJzCircleTime(String jzCircleTime) {
		this.jzCircleTime = jzCircleTime;
	}

	public String getJzCircleFile() {
		return jzCircleFile;
	}

	public void setJzCircleFile(String jzCircleFile) {
		this.jzCircleFile = jzCircleFile;
	}

	public void setJzCircleId(Integer jzCircleId) {
		this.jzCircleId = jzCircleId;
	}
	
	public Integer getJzCircleId() {
		return this.jzCircleId;
	}
	
	public void setJzCircleAccount(String jzCircleAccount) {
		this.jzCircleAccount = jzCircleAccount;
	}
	
	public String getJzCircleAccount() {
		return this.jzCircleAccount;
	}
	
	public void setJzCircleUsername(String jzCircleUsername) {
		this.jzCircleUsername = jzCircleUsername;
	}
	
	public String getJzCircleUsername() {
		return this.jzCircleUsername;
	}
	
	public void setJzCircleLogo(String jzCircleLogo) {
		this.jzCircleLogo = jzCircleLogo;
	}
	
	public String getJzCircleLogo() {
		return this.jzCircleLogo;
	}
	
	public void setJzCircleContent(String jzCircleContent) {
		this.jzCircleContent = jzCircleContent;
	}
	
	public String getJzCircleContent() {
		return this.jzCircleContent;
	}
	

	@Override
    public boolean equals(Object o) {
        if (this == o) { return true; }
        if (o == null || getClass() != o.getClass()) {return false;}
        CircleInfo that = (CircleInfo) o;
        return jzCircleId.equals(that.jzCircleId);
    }

    @Override
    public int hashCode() {
        return java.util.Objects.hash(jzCircleId);
    }
    
    @Override
    public String toString() {
        return "CircleInfo{" +
				"jzCircleId=" + jzCircleId +
						",jzCircleAccount='" + jzCircleAccount + "'" + 
						",jzCircleUsername='" + jzCircleUsername + "'" + 
						",jzCircleLogo='" + jzCircleLogo + "'" + 
						",jzCircleContent='" + jzCircleContent + "'" + 
		                '}';
    }
	
}